﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mitek.Models.Auth
{
   public class User : ModelBase
    {
       /// <summary>
       /// 用户ID
       /// </summary>
       [Key]
       public int ID { get; set; }

       /// <summary>
       /// 用户名
       /// </summary>
       [Required, MaxLength(32)]
       [DisplayName("用户名：")]
       public string UserName { get; set; }

       /// <summary>
       /// 登录密码
       /// </summary>
       [Required, MaxLength(32)]
       public string PassWord { get; set; }

       /// <summary>
       /// 姓名
       /// </summary>
       [Required, MaxLength(32)]
       public string Name { get; set; }
       
       /// <summary>
       ///省份 
       /// </summary>
       [Required]
       [DisplayName("省份")]
       public int Province { get; set; }

       /// <summary>
       ///城市 
       /// </summary>
       [Required]
       [DisplayName("城市")]
       public int City { get; set; }

       /// <summary>
       ///医院 
       /// </summary>
       [Required]
       [DisplayName("医院")]
       public int Hospital { get; set; }

       /// <summary>
       ///科室 
       /// </summary>
       [DisplayName("科室")]
       public string Deparment { get; set; }

       /// <summary>
       ///医生职称 
       /// </summary>
       [DisplayName("医生职称")]
       public string DoctorOffice { get; set; }

       /// <summary>
       ///手机 
       /// </summary>
       [Required]
       [DisplayName("手机")]
       public string Mobile { get; set; }

       /// <summary>
       ///医师资格证书 
       /// </summary>
       [DisplayName("医师资格证书")]
       public string DoctorCertificate { get; set; }

       /// <summary>
       ///角色ID 
       /// </summary>
       [DisplayName("角色：")]
       public int RoleID { get; set; }

       /// <summary>
       /// 领域特长
       /// </summary>
       [DisplayName("领域：")]
       public string Domain { get; set; }

       /// <summary>
       ///账号状态
       /// </summary>
       public int Status { get; set; }

       /// <summary>
       ///是否删除
       /// </summary>
       public bool IsDeleted { get; set; }


    }
}
